-
Notifications
You must be signed in to change notification settings - Fork 6
Fix tests #76
Fix tests #76
Conversation
Convert to pathlib in the process and shake until it passes
| artifact = artifactsdir / 'output.log' | ||
|
|
||
| artifactsdir.mkdir(parents=True, exist_ok=True) | ||
| resultsdir.mkdir(parents=True, exist_ok=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those two mkdirs were needed.
cc @kparal and @frantisekz - previously it worked without this
| pycallgraph = fixtures_factory('_pycallgraph') | ||
|
|
||
| _ttystatus = fixtures_factory('python-ttystatus-0.34-7.fc29') | ||
| ttystatus = fixtures_factory('_ttystatus') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that I'd rather replace pycallgraph with another package, but i couldn't find anything that would fit for both usecases pycallgraph had.
We don't need any modular builds (yet?) and this saves the metadata pull.
|
The changes look OK to me, but I'm not very familiar with the code. |
irushchyshyn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
| if '[' in nodeid: | ||
| parameters = nodeid.rsplit('[')[-1].replace(']', '') | ||
| return parameters.split('-')[0] | ||
| return None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the last return is redundunt.
|
Thanks @irushchyshyn, @encukou! |
No description provided.